Skip to content
This repository has been archived by the owner on Sep 1, 2020. It is now read-only.

Latest commit

 

History

History
7 lines (5 loc) · 152 Bytes

2.2.5 - Server::$worker_pid.md

File metadata and controls

7 lines (5 loc) · 152 Bytes

Server::$worker_pid

得到当前Worker进程的操作系统进程ID。与posix_getpid()的返回值相同。

int $serv->worker_pid;